package com.ncloud.billing.entity;

import java.io.Serializable;
import java.util.Date;

import com.alibaba.fastjson.annotation.JSONField;
import com.alibaba.fastjson.serializer.ToStringSerializer;

@SuppressWarnings("serial")
public class BsAttr implements Serializable {
	@JSONField(serializeUsing=ToStringSerializer.class)
	private Long id;
	private String attr_type;
	private String attr_code;
	private String attr_value;
	@JSONField(serializeUsing=ToStringSerializer.class)
	private Long attr_id;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	private Date begin_date;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	private Date end_date;
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public String getAttr_type() {
		return attr_type;
	}
	public void setAttr_type(String attr_type) {
		this.attr_type = attr_type;
	}
	public String getAttr_code() {
		return attr_code;
	}
	public void setAttr_code(String attr_code) {
		this.attr_code = attr_code;
	}
	public String getAttr_value() {
		return attr_value;
	}
	public void setAttr_value(String attr_value) {
		this.attr_value = attr_value;
	}
	public Long getAttr_id() {
		return attr_id;
	}
	public void setAttr_id(Long attr_id) {
		this.attr_id = attr_id;
	}
	public Date getBegin_date() {
		return begin_date;
	}
	public void setBegin_date(Date begin_date) {
		this.begin_date = begin_date;
	}
	public Date getEnd_date() {
		return end_date;
	}
	public void setEnd_date(Date end_date) {
		this.end_date = end_date;
	}
}
